package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 客户积分表
 * </p>
 *
 * @author LX
 * @since 2018-09-06
 */
@TableName("erp_customer_integral")
public class ErpCustomerIntegral extends Model<ErpCustomerIntegral> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户id
     */
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 累计积分
     */
    @TableField("int_lj")
    private String intLj;
    /**
     * 使用积分
     */
    @TableField("int_sy")
    private String intSy;
    /**
     * 可用积分
     */
    @TableField("int_ky")
    private String intKy;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getIntLj() {
        return intLj;
    }

    public void setIntLj(String intLj) {
        this.intLj = intLj;
    }

    public String getIntSy() {
        return intSy;
    }

    public void setIntSy(String intSy) {
        this.intSy = intSy;
    }

    public String getIntKy() {
        return intKy;
    }

    public void setIntKy(String intKy) {
        this.intKy = intKy;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpCustomerIntegral{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", intLj=" + intLj +
        ", intSy=" + intSy +
        ", intKy=" + intKy +
        "}";
    }
}
